<template>
    <div class="default">
        <my-header />
        <div class="container"><nuxt/></div>

    </div>
</template>

<script>
    import MyHeader from '~components/header.vue'
    export default {
        middleware: 'auth',
        components: {
            MyHeader
        }
    }
</script>

<style lang="scss" >
    html{
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #__nuxt{
      height: 100%;
      //overflow: hidden;
    }
    .default {
        height: 100%;
        //overflow-y: scroll;
        //overflow-x:hidden;
        box-sizing: border-box;
        position: relative;
        margin: 0 auto;
        .container{
            width: 1200px;
            margin: 0 auto;
            padding: 15px 0;

        }
    }
</style>